String Representation
String representation is what notion actually provides and its the simplest way to represent a formula.
Syntax#
Similar to the other two representations, string representation also contains two parts :- There are two parts(keys) to the array representation syntax and its based on its index, not property unlike object
function_name: This is a string that denotes the name of the function.args: A()surrounded and,separated list of arguments.
Arguments result_type x type variants syntax#
The following syntax's are used as arguments for specific variants.
number x symbol:
'e' | 'pi'number x constant:
1 | 2number x property:
prop("Number")number x function:
abs(1)text x constant:
'1' | 'a'text x property:
prop("Text")text x function:
concat("a", "b")checkbox x symbol:
true | falsecheckbox x property:
prop("Checkbox")checkbox x function:
and(false, true)date x property:
prop("Date")date x function:
now()